const Mock = require('mockjs');

const data = Mock.mock({
  "order|100": [
    {
      "id": '@id',
      "image": "@image(50x50, @color)",
      "nickname": "@cname",
      "price|10-100000": 1,
      "title": "@ctitle",
      "state|1": ["待付款", "待发货", "待收货", "待评价", "已完成"],
      "tel": /1[3-9]\d{9}/,
      "address": "@county(true)",
    }
  ]
})

module.exports = data